package com.imachen.user.service;

import com.imachen.basic.service.IBaseService;
import com.imachen.user.domain.User;
import com.imachen.user.dto.UserDto;

import javax.mail.MessagingException;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Tom
 * @since 2022-08-21
 */
public interface IUserService extends IBaseService<User> {
    // 手机号注册
    void phoneRegister(UserDto userDto);
    // 邮箱注册
    void emailRegister(UserDto userDto) throws MessagingException;
}
